package com.youdianda.service;

import com.youdianda.dto.UserDataHandleDTO;
import com.youdianda.entity.YddUserData;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youdianda.result.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sdy
 * @since 2023-05-15
 */
public interface IYddUserDataService extends IService<YddUserData> {

    /**
     * GET 点赞/取消点赞和收藏/取消收藏
     * @param userDataHandleDTO
     * @return
     */
    public Result userDataHandle(UserDataHandleDTO userDataHandleDTO);

}
